<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" id="c-moduleid" name="row[itemid]" value="{$itemid}" />
	<input type="hidden" id="c-dir" name="dir" value="{$dir}" />
  <input type="hidden" id="ename" name="ename" value="{$enname}" />

    <div class="form-group">
        <label for="c-versiontitle" class="control-label col-xs-12 col-sm-2">模型名称:</label>
        <div class="col-xs-12 col-sm-8">
            <label id="c-versiontitle" class="control-label">{$name}</label>
        </div>
    </div>
    <div class="form-group">
        <label for="c-versionno" class="control-label col-xs-12 col-sm-2">英文名称:</label>
        <div class="col-xs-12 col-sm-8">
            <label id="c-versionno" class="control-label">{$enname}</label>
        </div>
    </div>
    <div class="form-group">
        <label for="c-versionno" class="control-label col-xs-12 col-sm-2">版本号:</label>
        <div class="col-xs-12 col-sm-8">
            <table class="table table-striped table-bordered table-hover" >
                {volist name="s2" id="vo" empty="暂时没有数据" key="k" }
                <tr>
                    <td>版本名称</td><td>{$vo.versiontitle}（{$vo.versionno}）</td>

                </tr>
                <tr>
                    <td>应用领域</td><td>{$vo.versiondomain}</td>
                </tr>
                <tr>
          					<td>
          						<a href="http://qd.andiff.net/{$vo.filepath}" target="_blank">文件下载</a>
          					</td>
          					<td>
          						<a href="http://qd.andiff.net/{$vo.sqlpath}" target="_blank">SQL语句</a>
          					</td>
                </tr>
                <tr><td colspan="2" align="center">
                    <button type="button" class="btn btn-success btn-embossed onlinesetup" filepath="http://qd.andiff.net/{$vo.filepath}" sqlpath="http://qd.andiff.net/{$vo.sqlpath}">在线安装</button>
                </td>
                </tr>
                <input type="hidden" id="sqlpath" name="sqlpath" value="{$vo.sqlpath}" />
                {/volist}
            </table>
        </div>
    </div>
    <div class="form-group">
        <label for="c-versionno" class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8 text-center">

            &nbsp;&nbsp;&nbsp;&nbsp;
            <button type="button" class="btn btn-success btn-embossed returnback">返回</button>
        </div>
    </div>
</form>
